﻿using Finance.Domain;
using Finance.ErrorCode;
using MediatR;

namespace Finance.API.Write.Application.Command.PayableManagementCommand
{
    public class AddPayableManagementCommand:IRequest<APIResult<int>>
    {
        public int PayableManagementId { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string FlowingWaterNumber { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string PayableManagementName { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public int PayableManagementType { get; set; }
        /// <summary>
        /// 收款方
        /// </summary>
        public string Recipients { get; set; }
        /// <summary>
        /// 应收金额
        /// </summary>
        public int AmountReceivable { get; set; }
        /// <summary>
        /// 实收金额
        /// </summary>
        public int PaidInAmount { get; set; }
        /// <summary>
        /// 剩余金额
        /// </summary>
        public int RemainingAmount { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 最后付款日
        /// </summary>
        public DateTime LastPaymentDate { get; set; }
        /// <summary>
        /// 付款方
        /// </summary>
        public string Payer { get; set; }
        /// <summary>
        /// 付款次数
        /// </summary>
        public int NumberOfPayments { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeleteName { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; }
        /// <summary>
        /// 付款机构
        /// </summary>
        public string? PaymentInstitutions { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int Rid { get; set; }
    }
}
